package com.iflytek.uc.dao;

import java.util.List;

import com.iflytek.uc.domain.EntityType;
import com.iflytek.uc.domain.EntityType.EntityCategory;
import com.iflytek.uc.domain.Relation;

public interface EntityTypeDao {

	List<EntityType> getEntityTypes();
	
	EntityType getEntityTypeByName(String name);

	List<EntityType> getEntityTypesByCategory(EntityCategory category);

	List<Relation> getParentRelations(String name);

	List<Relation> getChildRelations(String name);

}
